<?php $keyword = $sf_request->hasParameter('search') ? $sf_request->getParameter('search') : __('Otsingu sõna'); ?>
<div class="searchbox">
	<div class="searchboxleft"><img src="/enermaatik/img/searchleft.png" width="10" height="30" alt=""/></div>
	<div class="searchboxcenter">
		<form id="searchForm" method="post" action="<?php include_component('linker', 'searchLink') ?>">
			<div><input class="searchin" type="text" onblur="if(this.value=='')this.value='<?php echo $keyword ?>'" onfocus="if(this.value=='<?php echo $keyword ?>')this.value=''" value="<?php echo $keyword ?>" name="search" maxlength="60"/></div>
		</form>
	</div>
	<div class="searchboxright"><img src="/enermaatik/img/searchright.png" width="10" height="30" alt=""/></div>
</div>
<div class="searchbutton" id="searchb">
	<a href="#"><img src="/enermaatik/img/search.png" width="36" height="30" alt=""/></a>
</div>
<div class="clear"></div>
<script type="text/javascript">
	$('#searchb').click(function(e){
		e.preventDefault();
		$('#searchForm').submit();
		return false;
	});
</script>